package com.wangyk.rabbitmqconsole.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 扫描MapperScan下所有的mapper.java文件。
 * */
@Configuration
@MapperScan("com.wangyk.rabbitmqconsole.dao")
@EnableTransactionManagement
@ImportResource("classpath*:commonDatabase.xml")
public class DaoConfig
{
}
